<template>
  <div class="no">
      <img src="/404.png">
      <div @click="fun()" class="jump">点击返回首页</div>
      <div class="jump1" @click="fun1()">点击跳转others页面</div>
  </div>
</template>

<script>
export default {
  methods:{
    fun(){
      this.$router.push("/home")
    },
    fun1(){
      this.$router.push("/others")
    }
  }
}
</script>

<style scoped>
.no img{
  width:3.6rem;
}
.jump{
  width:1.5rem;
  height:0.3rem;
  font-size:0.2rem;
  background-color: pink;
  color:white;
  margin:auto;
  text-align: center;
  line-height: 0.3rem;
  border-radius: 0.15rem;
}
.jump1{
  width:1.8rem;
  height:0.3rem;
  font-size:0.2rem;
  background-color: red;
  color:white;
  margin:auto;
  text-align: center;
  line-height: 0.3rem;
  border-radius: 0.15rem;
  margin-top:2.5rem
}
</style>